//
//  WFPhotoLayouy.h
//  谷居
//
//  Created by dllo on 16/7/4.
//  Copyright © 2016年 刘万方. All rights reserved.
//

#import <UIKit/UIKit.h>
@class WFPhotoLayouy;

@protocol WFPhotoLayouyDelegtate <NSObject>
- (CGFloat)layout:(WFPhotoLayouy *)layout heightForItemAtIndexPath:(NSIndexPath *)indexPath Width:(CGFloat)width;

@end
@interface WFPhotoLayouy : UICollectionViewFlowLayout
@property (nonatomic, assign) NSInteger height;

@property (nonatomic, assign) NSInteger count;
@property (nonatomic, assign) id<WFPhotoLayouyDelegtate>delegate;
@end
